package common.customer.bean;

import java.io.Serializable;
import java.util.Date;

import common.post.bean.Post;
import common.post.bean.PostComment;
import common.post.bean.SInfo;
import common.post.bean.SInfoComment;

public class Score implements Serializable {
	/**
	 * auto generated id
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private int jifen;
	private int gold;
	private String reason;
	private SInfo sinfo;
	private Post post;
	private PostComment postComment;
	private SInfoComment sinfoComment;
	private Customer user;
	private short type;//评分类型 1.sinfo评分 2.post评分 3.post comment评分 4.Sinfo comment评分
	private Date date;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getJifen() {
		return jifen;
	}
	public void setJifen(int jifen) {
		this.jifen = jifen;
	}
	public int getGold() {
		return gold;
	}
	public void setGold(int gold) {
		this.gold = gold;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public SInfo getSinfo() {
		return sinfo;
	}
	public void setSinfo(SInfo sinfo) {
		this.sinfo = sinfo;
	}
	public Post getPost() {
		return post;
	}
	public void setPost(Post post) {
		this.post = post;
	}
	public PostComment getPostComment() {
		return postComment;
	}
	public void setPostComment(PostComment postComment) {
		this.postComment = postComment;
	}
	public SInfoComment getSinfoComment() {
		return sinfoComment;
	}
	public void setSinfoComment(SInfoComment sinfoComment) {
		this.sinfoComment = sinfoComment;
	}
	public short getType() {
		return type;
	}
	public void setType(short type) {
		this.type = type;
	}
	public Customer getUser() {
		return user;
	}
	public void setUser(Customer user) {
		this.user = user;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
}
